﻿using NRepository.Core.Query;
using NRepository.TestKit;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication_Net40
{
    class Program
    {
        static void Main(string[] args)
        {
            var tmp = new InMemoryRecordedRepository();
            tmp.Add("3");
            tmp.Add("22");
            tmp.Add("55");
            tmp.Add("66");
            tmp.Add("123");

            var count = tmp.GetEntities<string>(
                new AggregateQueryStrategy(
                new ReverseQueryStrategy()
                ));
            var t = count.ToList();
            var x = count.Count();
        }
    }
}
